async function fn() {
    try {
        await Promise.reject('reject error')
    } catch(err) {
        console.log(err)
    }
}

// fn()

async function foo() {
    let a = await 4
    let b = await new Promise((resolve, reject) => {})
    let c = await 6
    console.log('end', a, b, c)
}

foo()